* progmodes/python.el (python-indent-block-enders): Add break,
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 26 May 2013 08:55:02 +0000 (05:55 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 26 May 2013 08:55:02 +0000 (05:55 -0300)
continue and raise keywords.

lisp/ChangeLog
lisp/progmodes/python.el

index 4901e49be6402c35c2db45cbe94ca75125d02378..9023a9de1a896d03642dabbf58552a62f43bdddb 100644 (file)
@@ -1,3 +1,8 @@
+2013-05-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       * progmodes/python.el (python-indent-block-enders): Add break,
+       continue and raise keywords.
+
 2013-05-08  Ulrich Mueller  <ulm@gentoo.org>
 
        * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
index 266d193cddae27f680129931e97ed4b27f12bb92..a76ea875f5d72f417de27c3d99d76dee7ee3c8ee 100644 (file)
@@ -628,7 +628,8 @@ It makes underscores and dots word constituent chars.")
 These make `python-indent-calculate-indentation' subtract the value of
 `python-indent-offset'.")
 
-(defvar python-indent-block-enders '("return" "pass")
+(defvar python-indent-block-enders
+  '("break" "continue" "pass" "raise" "return")
   "List of words that mark the end of a block.
 These make `python-indent-calculate-indentation' subtract the
 value of `python-indent-offset' when `python-indent-context' is